package com.demo.config;

import feign.Request;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.concurrent.TimeUnit;

/**
 * @author KingYan
 * @date 2024/6/18
 * @apiNote
 */
@Configuration
public class FeignConfig {
	@Bean
	public Request.Options options() {
		return new Request.Options(8, TimeUnit.SECONDS, 8, TimeUnit.SECONDS, true);
	}
}
